Fox's Git Mirrors
Node / rns-mirrors / Reticulum-Go.git / files / examples / pageserver / internal / server / options.go
Displaying Raw • Download
examples/pageserver/internal/server/options.go 633735d797cc5f5d48cb2e22e8fd7cd743930daf (633735d7) Text, 630 B
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2024-2026 Quad4.io
package server
import "time"
// Options are runtime paths and intervals for the page node (from CLI flags).
type Options struct {
PagesDir string
FilesDir string
PageRefreshInterval time.Duration
FileRefreshInterval time.Duration
AnnounceIntervalMinutes int
IdentityFileOverride string
NodeDisplayName string
// DisablePageStats omits the built-in /page/__pageviews.mu handler and skips
// recording view counts. A static pages/__pageviews.mu file can still be served.
DisablePageStats bool
}
Served by rngit 1.5.2 - Generated in 0.02s